@extends('layout.news')


    @section("content")

            <!--服务类目 start-->
    <div class="gray-bg">
        <div class="container">
            <div class="container-box clearfix">
                <div class="container-list aboutServe h-auto">
                    <div class="asHeader">
                        <img src="{{URL::asset('/')}}images/login-2.jpg" alt="">
                    </div>
                    <!--招聘合作-->
                    <dl>
                        <dt class="asTitle">优学—父母学院</dt>
                        <dd>
                            <ul class="asList">
                                {{--<li><a href="/parent/peixunban#con">小儿推拿家长精品班</a></li>--}}
                                <li><a href="/parent/ketang#con">母乳喂养课堂</a></li>
                                <li><a href="/parent/zaojiao#con">家庭早教指导课程</a></li>
                                <li><a href="/parent/zixun#con">生养教前沿咨询</a></li>
                            </ul>
                        </dd>
                    </dl>
                </div>
                <!--内容-->
                <div class="account-box fr">
                    <!--小儿推拿家长精品班-->
                    <div style="margin-top: 3%;">
                        <?php
                                if($newsList) {
                                    foreach($newsList as $news) {
                        ?>
                                        <div class="news">
                                            <a href="/news/detail?id=<?php echo isset($news->id)?$news->id:0;?>#con" target="_blank">
                                                <?php echo isset($news->title) ? $news->title : '';?>
                                            </a>
                                        </div>
                        <?php
                                    }
                                }
                        ?>
                    </div>

                    <ul class="pagination pagination-lg">
                        <?php echo $newsList->render();?>
                    </ul>
                </div>
            </div>
        </div>
    </div>
    <!--服务类目 end-->

@endsection